package com.richard.base.module

/**
 ***************************************
 * 项目名称:KsLightLearn
 * @Author wuzhiguo
 * 邮箱：wuzhiguo@ksjgs.com
 * 创建时间: 2020-02-27     10:56
 * 用途:
 ***************************************
 */
class BusMsg<T : Any?> {

    var code: Int = 0
    var data: T? = null


    constructor(code: Int, data: T) {
        this.code = code
        this.data = data
    }

    override fun toString(): String {
        return "EventMessage{code=$code, data=$data}"
    }

    companion object {

        const val PAGE_START = 0x20001

    }
}
